header{
    width: 100%;
    padding: 0 10px;
    position: fixed;
    background-color: #ffc107;
    z-index: 1;
    .head{
        height: 50px;
        line-height: 50px;
        nav .link {
            position: relative;
        }
        nav .link:hover {
            animation: scale .5s;
        }
        /* 缩放的动画 */
        @keyframes scale {
            0% {
                transform: scale(1)
            }
        
            50% {
                transform: scale(1.2)
            }
        
            100% {
                transform: scale(1)
            }
        }
        nav .link::after {
            content: '';
            /* 子元素绝对定位 */
            position: absolute;
            width: 0;
            height: 3px;
            background-color: #fff;
            bottom: 5px;
            left: 50%;
        }
        
        /* 点击时高亮效果 */
        nav .active::after {
            transition: all .5s;
            content: '';
            /* 子元素绝对定位 */
            position: absolute;
            width: 100%;
            height: 3px;
            background-color: #ff8200;
            bottom: 5px;
            left: 0;
        }
        /* active */
        nav .active {
            color: black;
            font-weight: bold;
            font-size: 18px;
        }
    }
}

main{
    .item{
        width: 100%;
        height: 100%;
        padding: 10px 15px;
        justify-content: start;
        border-bottom: 1px solid #f4f4f4;
        img{
            width: 70px;
            height: 100px;
        }
        .word{
            line-height: 1.5;
            span{
                font-size: 14px;
                padding: 5px;
                background-color: #f4f4f4;
            }
        }
    }
}

.footer{
    .all{
        bottom: 50px;
        .deleteBook{
            padding: 5px 30px;
            background-color: #ffc107;
            color: #fff;
            border: none;
            border-radius: 5px;
            font-weight: bold;
            font-size: 16px;
        }
        .submit{
            padding: 5px 30px;
            background-color: #ffc107;
            color: #fff;
            border: none;
            border-radius: 5px;
            font-weight: bold;
            font-size: 16px;
        }
    }
}